package Lecture6;

public class ClassTask44{

	public static void main(String[] args) {


		String niz = "sargaerhaehae";
		
		int [] counters = new int [26];
		
		niz = niz.toLowerCase();
		
		for(int i = 0; i< niz.length(); i++)
		{
			counters[niz.charAt(i) - 'a']++;
			
		}
		
		for (int i = 0; i< counters.length; i++)
		{
			char letter = (char) (i+ 'a');
			
			System.out.println(letter + " : " + counters[i]);
			
		}
		
		
		
		
		
		
		
		
		
		
	}

}
